home *** CD-ROM | disk | FTP | other *** search
- //
- // The Fusion Library Interface for DOS
- // Version 1.06c
- // Copyright (C) 1990, 1991, 1992
- // Software Dimensions
- //
- // DialogClass
- // DiaPickList (Index Based Pick-Lists)
- // DiaStructPickList (Structure Based Pick-Lists)
- //
-
- #include "fli.h"
- #include "elements.h"
- #include "colors.h"
-
- #ifdef __BCPLUSPLUS__
- #pragma hdrstop
- #endif
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // DiaPickList()
- //
- // Constructor for DiaPickList
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- DiaPickList::DiaPickList(int _X,int _Y,int _Width,int _Height,
- int &_Item,int &_ItemCount,char **_Items) :
- DiaPickGeneric(_X,_Y,_Width,_Height,_Item,_ItemCount),
- Items(_Items)
- {
- }
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // GetItem()
- //
- // Gets item from non-structure, arrayed pick list
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- char *DiaPickList::GetItem(int ItemNumber)
- {
- return Items[ItemNumber];
- }
-
-